\hypertarget{structnih_1_1_bbox}{
\section{nih\-:\-:\-Bbox$<$ \-Vector\-\_\-t $>$ \-Struct \-Template \-Reference}
\label{structnih_1_1_bbox}\index{nih\-::\-Bbox$<$ Vector\-\_\-t $>$@{nih\-::\-Bbox$<$ Vector\-\_\-t $>$}}
}


{\ttfamily \#include $<$bbox.\-h$>$}

\subsection*{\-Public \-Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structnih_1_1_bbox_a113f19f55207310819ac31e884a70f90}{
typedef \-Vector\-\_\-t\-::\-Field\-\_\-type {\bfseries \-Field\-\_\-type}}
\label{structnih_1_1_bbox_a113f19f55207310819ac31e884a70f90}

\item 
\hypertarget{structnih_1_1_bbox_acf704ab7932cbe6c2ca02653ba5c9e18}{
typedef \-Vector\-\_\-t {\bfseries \-Vector\-\_\-type}}
\label{structnih_1_1_bbox_acf704ab7932cbe6c2ca02653ba5c9e18}

\end{DoxyCompactItemize}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \hyperlink{structnih_1_1_bbox_ac674f03e9e984723f2398447391e0807}{\-Bbox} ()
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \hyperlink{structnih_1_1_bbox_ad92cdc222bbd3f5cd5f67f09604eaedc}{\-Bbox} (const \-Vector\-\_\-t \&v)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \hyperlink{structnih_1_1_bbox_a75c9f074a52e3c0acbc5f747c6999df7}{\-Bbox} (const \-Vector\-\_\-t \&v1, const \-Vector\-\_\-t \&v2)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \hyperlink{structnih_1_1_bbox_a0512a9e8597c575f8b39d7d50d4a088d}{\-Bbox} (const \hyperlink{structnih_1_1_bbox}{\-Bbox}$<$ \-Vector\-\_\-t $>$ \&bb1, const \hyperlink{structnih_1_1_bbox}{\-Bbox}$<$ \-Vector\-\_\-t $>$ \&bb2)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \hyperlink{structnih_1_1_bbox_a256898f0ab2b2648ea785db9cd47c562}{\-Bbox} (const \hyperlink{structnih_1_1_bbox}{\-Bbox}$<$ \-Vector\-\_\-t $>$ \&bb)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E void \hyperlink{structnih_1_1_bbox_aaf285b037bc220098333d91de589d010}{insert} (const \-Vector\-\_\-t \&v)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E void \hyperlink{structnih_1_1_bbox_a250b720b5c23e3f4e3757d052c0beb67}{insert} (const \hyperlink{structnih_1_1_bbox}{\-Bbox} \&v)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E void \hyperlink{structnih_1_1_bbox_a0908567fff19b639c7d6e875acbef265}{clear} ()
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E const \*
\-Vector\-\_\-t \& \hyperlink{structnih_1_1_bbox_a773d6d63c51cfc017aa0da640a5f9373}{operator\mbox{[}$\,$\mbox{]}} (const size\-\_\-t i) const 
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \-Vector\-\_\-t \& \hyperlink{structnih_1_1_bbox_a561f0308c267706fe7460ee916c52037}{operator\mbox{[}$\,$\mbox{]}} (const size\-\_\-t i)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \hyperlink{structnih_1_1_bbox}{\-Bbox}\*
$<$ \-Vector\-\_\-t $>$ \& \hyperlink{structnih_1_1_bbox_a73597545739fe5df476167b616ffc247}{operator=} (const \hyperlink{structnih_1_1_bbox}{\-Bbox}$<$ \-Vector\-\_\-t $>$ \&bb)
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structnih_1_1_bbox_a1d8ccda901cd9ecfe7ad40d046362936}{
\-Vector\-\_\-t \hyperlink{structnih_1_1_bbox_a1d8ccda901cd9ecfe7ad40d046362936}{m\-\_\-min}}
\label{structnih_1_1_bbox_a1d8ccda901cd9ecfe7ad40d046362936}

\begin{DoxyCompactList}\small\item\em min corner \end{DoxyCompactList}\item 
\hypertarget{structnih_1_1_bbox_acf51fbadf69955a4a12641d96b17a9b8}{
\-Vector\-\_\-t \hyperlink{structnih_1_1_bbox_acf51fbadf69955a4a12641d96b17a9b8}{m\-\_\-max}}
\label{structnih_1_1_bbox_acf51fbadf69955a4a12641d96b17a9b8}

\begin{DoxyCompactList}\small\item\em max corner \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\subsubsection*{template$<$typename \-Vector\-\_\-t$>$struct nih\-::\-Bbox$<$ Vector\-\_\-t $>$}

\-Axis-\/\-Aligned \-Bounding \hyperlink{structnih_1_1_bbox}{\-Bbox} class, templated over an arbitrary vector type 

\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{structnih_1_1_bbox_ac674f03e9e984723f2398447391e0807}{
\index{nih\-::\-Bbox@{nih\-::\-Bbox}!\-Bbox@{\-Bbox}}
\index{\-Bbox@{\-Bbox}!nih::Bbox@{nih\-::\-Bbox}}
\subsubsection[{\-Bbox}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Vector\-\_\-t $>$ {\bf nih\-::\-Bbox}$<$ \-Vector\-\_\-t $>$\-::{\bf \-Bbox} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{structnih_1_1_bbox_ac674f03e9e984723f2398447391e0807}
empty constructor \hypertarget{structnih_1_1_bbox_ad92cdc222bbd3f5cd5f67f09604eaedc}{
\index{nih\-::\-Bbox@{nih\-::\-Bbox}!\-Bbox@{\-Bbox}}
\index{\-Bbox@{\-Bbox}!nih::Bbox@{nih\-::\-Bbox}}
\subsubsection[{\-Bbox}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename \-Vector\-\_\-t$>$ {\bf nih\-::\-Bbox}$<$ \-Vector\-\_\-t $>$\-::{\bf \-Bbox} (
\begin{DoxyParamCaption}
\item[{const \-Vector\-\_\-t \&}]{v}
\end{DoxyParamCaption}
)}}
\label{structnih_1_1_bbox_ad92cdc222bbd3f5cd5f67f09604eaedc}
point constructor


\begin{DoxyParams}{\-Parameters}
{\em v} & point \\
\hline
\end{DoxyParams}
\hypertarget{structnih_1_1_bbox_a75c9f074a52e3c0acbc5f747c6999df7}{
\index{nih\-::\-Bbox@{nih\-::\-Bbox}!\-Bbox@{\-Bbox}}
\index{\-Bbox@{\-Bbox}!nih::Bbox@{nih\-::\-Bbox}}
\subsubsection[{\-Bbox}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename \-Vector\-\_\-t$>$ {\bf nih\-::\-Bbox}$<$ \-Vector\-\_\-t $>$\-::{\bf \-Bbox} (
\begin{DoxyParamCaption}
\item[{const \-Vector\-\_\-t \&}]{v1, }
\item[{const \-Vector\-\_\-t \&}]{v2}
\end{DoxyParamCaption}
)}}
\label{structnih_1_1_bbox_a75c9f074a52e3c0acbc5f747c6999df7}
min/max constructor


\begin{DoxyParams}{\-Parameters}
{\em v1} & min corner \\
\hline
{\em v2} & max corner \\
\hline
\end{DoxyParams}
\hypertarget{structnih_1_1_bbox_a0512a9e8597c575f8b39d7d50d4a088d}{
\index{nih\-::\-Bbox@{nih\-::\-Bbox}!\-Bbox@{\-Bbox}}
\index{\-Bbox@{\-Bbox}!nih::Bbox@{nih\-::\-Bbox}}
\subsubsection[{\-Bbox}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename \-Vector\-\_\-t$>$ {\bf nih\-::\-Bbox}$<$ \-Vector\-\_\-t $>$\-::{\bf \-Bbox} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Bbox}$<$ \-Vector\-\_\-t $>$ \&}]{bb1, }
\item[{const {\bf \-Bbox}$<$ \-Vector\-\_\-t $>$ \&}]{bb2}
\end{DoxyParamCaption}
)}}
\label{structnih_1_1_bbox_a0512a9e8597c575f8b39d7d50d4a088d}
merging constructor


\begin{DoxyParams}{\-Parameters}
{\em bb1} & first bbox \\
\hline
{\em bb2} & second bbox \\
\hline
\end{DoxyParams}
\hypertarget{structnih_1_1_bbox_a256898f0ab2b2648ea785db9cd47c562}{
\index{nih\-::\-Bbox@{nih\-::\-Bbox}!\-Bbox@{\-Bbox}}
\index{\-Bbox@{\-Bbox}!nih::Bbox@{nih\-::\-Bbox}}
\subsubsection[{\-Bbox}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename \-Vector\-\_\-t$>$ {\bf nih\-::\-Bbox}$<$ \-Vector\-\_\-t $>$\-::{\bf \-Bbox} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Bbox}$<$ \-Vector\-\_\-t $>$ \&}]{bb}
\end{DoxyParamCaption}
)}}
\label{structnih_1_1_bbox_a256898f0ab2b2648ea785db9cd47c562}
copy constructor


\begin{DoxyParams}{\-Parameters}
{\em bb} & bbox to copy \\
\hline
\end{DoxyParams}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{structnih_1_1_bbox_a0908567fff19b639c7d6e875acbef265}{
\index{nih\-::\-Bbox@{nih\-::\-Bbox}!clear@{clear}}
\index{clear@{clear}!nih::Bbox@{nih\-::\-Bbox}}
\subsubsection[{clear}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Vector\-\_\-t $>$ void {\bf nih\-::\-Bbox}$<$ \-Vector\-\_\-t $>$\-::clear (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{structnih_1_1_bbox_a0908567fff19b639c7d6e875acbef265}
clear bbox \hypertarget{structnih_1_1_bbox_aaf285b037bc220098333d91de589d010}{
\index{nih\-::\-Bbox@{nih\-::\-Bbox}!insert@{insert}}
\index{insert@{insert}!nih::Bbox@{nih\-::\-Bbox}}
\subsubsection[{insert}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename \-Vector\-\_\-t$>$ void {\bf nih\-::\-Bbox}$<$ \-Vector\-\_\-t $>$\-::insert (
\begin{DoxyParamCaption}
\item[{const \-Vector\-\_\-t \&}]{v}
\end{DoxyParamCaption}
)}}
\label{structnih_1_1_bbox_aaf285b037bc220098333d91de589d010}
insert a point


\begin{DoxyParams}{\-Parameters}
{\em v} & point to insert \\
\hline
\end{DoxyParams}
\hypertarget{structnih_1_1_bbox_a250b720b5c23e3f4e3757d052c0beb67}{
\index{nih\-::\-Bbox@{nih\-::\-Bbox}!insert@{insert}}
\index{insert@{insert}!nih::Bbox@{nih\-::\-Bbox}}
\subsubsection[{insert}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename \-Vector\-\_\-t$>$ void {\bf nih\-::\-Bbox}$<$ \-Vector\-\_\-t $>$\-::insert (
\begin{DoxyParamCaption}
\item[{const {\bf \-Bbox}$<$ \-Vector\-\_\-t $>$ \&}]{v}
\end{DoxyParamCaption}
)}}
\label{structnih_1_1_bbox_a250b720b5c23e3f4e3757d052c0beb67}
insert a bbox


\begin{DoxyParams}{\-Parameters}
{\em v} & bbox to insert \\
\hline
\end{DoxyParams}
\hypertarget{structnih_1_1_bbox_a73597545739fe5df476167b616ffc247}{
\index{nih\-::\-Bbox@{nih\-::\-Bbox}!operator=@{operator=}}
\index{operator=@{operator=}!nih::Bbox@{nih\-::\-Bbox}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename \-Vector\-\_\-t$>$ {\bf \-Bbox}$<$ \-Vector\-\_\-t $>$ \& {\bf nih\-::\-Bbox}$<$ \-Vector\-\_\-t $>$\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Bbox}$<$ \-Vector\-\_\-t $>$ \&}]{bb}
\end{DoxyParamCaption}
)}}
\label{structnih_1_1_bbox_a73597545739fe5df476167b616ffc247}
copy operator


\begin{DoxyParams}{\-Parameters}
{\em bb} & bbox to copy \\
\hline
\end{DoxyParams}
\hypertarget{structnih_1_1_bbox_a773d6d63c51cfc017aa0da640a5f9373}{
\index{nih\-::\-Bbox@{nih\-::\-Bbox}!operator\mbox{[}$\,$\mbox{]}@{operator[]}}
\index{operator\mbox{[}$\,$\mbox{]}@{operator[]}!nih::Bbox@{nih\-::\-Bbox}}
\subsubsection[{operator[]}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename \-Vector\-\_\-t$>$ \-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E const \-Vector\-\_\-t\& {\bf nih\-::\-Bbox}$<$ \-Vector\-\_\-t $>$\-::operator\mbox{[}$\,$\mbox{]} (
\begin{DoxyParamCaption}
\item[{const size\-\_\-t}]{i}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_bbox_a773d6d63c51cfc017aa0da640a5f9373}
const corner indexing operator


\begin{DoxyParams}{\-Parameters}
{\em i} & corner to retrieve \\
\hline
\end{DoxyParams}
\hypertarget{structnih_1_1_bbox_a561f0308c267706fe7460ee916c52037}{
\index{nih\-::\-Bbox@{nih\-::\-Bbox}!operator\mbox{[}$\,$\mbox{]}@{operator[]}}
\index{operator\mbox{[}$\,$\mbox{]}@{operator[]}!nih::Bbox@{nih\-::\-Bbox}}
\subsubsection[{operator[]}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename \-Vector\-\_\-t$>$ \-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \-Vector\-\_\-t\& {\bf nih\-::\-Bbox}$<$ \-Vector\-\_\-t $>$\-::operator\mbox{[}$\,$\mbox{]} (
\begin{DoxyParamCaption}
\item[{const size\-\_\-t}]{i}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_bbox_a561f0308c267706fe7460ee916c52037}
corner indexing operator


\begin{DoxyParams}{\-Parameters}
{\em i} & corner to retrieve \\
\hline
\end{DoxyParams}


\-The documentation for this struct was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
linalg/\hyperlink{bbox_8h}{bbox.\-h}\item 
linalg/bbox\-\_\-inline.\-h\end{DoxyCompactItemize}
